<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="lottery539List.title"/></title>
<content tag="heading"><fmt:message key="lottery539List.heading"/></content>
<meta name="menu" content="Lottery539Menu"/>

<table border="1" width="85%" align=center>

<%
	int occurNoMax = Integer.parseInt((String)session.getAttribute("max"));
	int occurNoMin = Integer.parseInt((String)session.getAttribute("min"));
	int[] lotto = (int[])session.getAttribute("lottery");
	for(int l=occurNoMax+1;l>=occurNoMin;l--)
	{
	%><tr><td align="center"> <fmt:message key="count649Form.occur"/> <%= l %> <fmt:message key="count649Form.times"/></td>
	
	<%
		for(int i=1;i<40;i++)
		{
			if(lotto[i]==l)
			{ 
				%><td align="center"><%= i %></td>
<% 			}
 		}
 		
%> </tr> <%
	}	

%>
</table>

<script type="text/javascript">
    highlightTableRows("lottery539List");
</script>
